home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir24 / jnos110g.zip / CONFIG.H < prev    next >
C/C++ Source or Header  |  1994-08-26  |  10KB  |  284 lines

  1. #ifndef    _CONFIG_H
  2. #define    _CONFIG_H
  3. /* This is a configuration for a user, modified for N5KNX */
  4.  
  5. /* NOTE: only the below listed config files have been tested.
  6.  * Due to the virtually unlimited number of combinations of options
  7.  * in config.h, it is impossible to test each possible variation!
  8.  * Others may or may not compile and link without errors !
  9.  * Effort has been made to provide a clean set of #defines throughout
  10.  * the source to produce a good compile, but no garuantees are made.
  11.  * Your milage may vary!!!
  12.  * tested are: distconf.h, gwconfig.h, bbsconf.h, users.h homeslip.h
  13.  */
  14.  
  15.  
  16. /* Software options */
  17.  
  18. #undef CONVERS     1   /* Conference bridge (babble-box :-) */
  19. /* Use only ONE of the 2 news options below !!! */
  20. #define NNTP        1   /* Netnews client */
  21. #undef NNTPS       1   /* Netnews client and server */
  22. #define STKTRACE   1   /* Include stack tracing code */
  23. #define TRACE       1   /* Include packet tracing code */
  24. #undef DIALER      1   /* SLIP redial code */
  25. #undef POP2CLIENT  1   /* POP2 client -- IAB not recommended */
  26. #define POP3CLIENT  1   /* POP3 client -- IAB draft standard */
  27. #undef ESCAPE      1   /* Allow Unix style escape on PC */
  28. #define ATCMD       1   /* Include timed 'at' execution */
  29. #undef NR4TDISC    1   /* Include Netrom L4 timeout-disconnect */
  30. #define XMODEM      1   /* xmodem file xfer for tipmail  */
  31. #define IPACCESS    1   /* Include IP access control code */
  32. #undef TCPACCESS   1   /* Include TCP access control code */
  33. #undef ENCAP       1   /* Include IP encapsulation code */
  34. #undef AUTOROUTE   1   /* Include AX.25 IP auto-route code(causes problems when VC mode is used for ip) */
  35. #undef HOPPER      1   /* Include SMTP hopper code by G8FSL */
  36. #define LOCK        1   /* Include keyboard locking */
  37. #define TTYCALL     1   /* Include AX.25 ttylink call */
  38. #define MONITOR     1   /* Include user-port monitor trace mode */
  39. #undef MULTITASK   1   /* Include Dos shell multi-tasker */
  40. #define SHELL       1   /* Include shell command */
  41. #undef SWATCH      1   /* stopWATCH code */
  42. #define ALLCMD     1    /* include dump,finger,fkey,info,mail,motd,more,status,
  43.                          * record,watch,upload commands */
  44. #define DOSCMD      1   /* Include del,ren,cd,dir,mkdir,pwd,rmdir commands */
  45.  
  46. #define SPLITSCREEN     1
  47. #define STATUSWIN       1   /* Up to 3 line status window */
  48.  
  49. /* Protocol options */
  50.  
  51. #define AX25        1   /* Ax.25 support */
  52. #undef NETROM      1   /* NET/ROM network support */
  53. #undef NRS         1   /* NET/ROM async interface */
  54. #define RIP         1   /* Include RIP routing */
  55. #define LZW         1   /* LZW-compressed sockets */
  56. #undef SLIP        1   /* Serial line IP on built-in ports */
  57. #undef PPP         1   /* Point-to-Point Protocol code */
  58. #undef VJCOMPRESS  1   /* Van Jacobson TCP compression for SLIP */
  59. #undef RDATE       1   /* Include the Time Protocol */
  60. #undef RSPF        1   /* Include Radio Shortest Path First Protocol */
  61. #undef AXIP        1   /* digipeater via ip port 93 interface */
  62. #undef RARP        1   /* Include Reverse Address Resolution Protocol */
  63. #undef BOOTP       1   /* Include BootP protocol */
  64.  
  65.  
  66. /* Network services */
  67.  
  68. #define SERVERS         1   /* Include TCP servers */
  69. #define AX25SERVER       1   /* Ax.25 server */
  70. #undef NETROMSERVER     1   /* Net/rom server */
  71. #define TELNETSERVER     1   /* Tcp telnet server */
  72. #define RLOGINSERVER     1   /* Tcp rlogin server */
  73. #define TTYLINKSERVER    1   /* Tcp ttylink server */
  74. #define SMTPSERVER       1   /* Tcp smtp server */
  75. #define FTPSERVER        1   /* Tcp ftp server */
  76. #define FINGERSERVER     1   /* Tcp finger server */
  77. #undef POP2SERVER       1   /* POP2 server -- IAB not recommended */
  78. #undef POP3SERVER      1   /* POP3 server -- IAB draft standard */
  79. #define REMOTESERVER     1   /* Udp remote server */
  80. #undef ECHOSERVER       1   /* Tcp echo server */
  81. #undef DISCARDSERVER    1   /* Tcp discard server */
  82. #define TIPSERVER        1   /* Serial port tip server */
  83. #undef DOMAINSERVER    1   /* Udp Domain Name Server */
  84. #undef CALLSERVER       1   /* Include BuckMaster CDROM server support */
  85. #undef ICALL            1   /* Buckmaster's international callsign database April '92 */
  86. #undef SAMCALLB         1   /* SAM callbook server. Note that you can NOT have */
  87.                             /* BOTH Buckmaster and SAM defined.If so, SAM is used */
  88. #define QRZCALLB         1   /* QRZ callbook server. Note that you can NOT have */
  89.                              /* BOTH Buckmaster and QRZ defined.If so, QRZ is used */
  90.  
  91. /* Outgoing Sessions */
  92.  
  93. #define SESSIONS        1
  94. #undef CALLCLI          1   /* Include BuckMaster or SAM client code only  */
  95. #define AX25SESSION      1
  96. #undef NETROMSESSION    1
  97. #define TELNETSESSION    1
  98. #define TTYLINKSESSION   1
  99. #define BBSSESSION      1
  100. #define FTPSESSION       1
  101. #define FINGERSESSION    1
  102. #define PINGSESSION      1
  103. #define HOPCHECKSESSION  1   /* IP path tracing command */
  104. #define RLOGINSESSION    1   /* Rlogin client code */
  105. #define TIPSESSION       1
  106. #define DIRSESSION       1
  107. #define MORESESSION      1
  108. #define REPEATSESSION   1
  109. #define LOOKSESSION     1   /* follow user activity on the bbs */
  110.  
  111. /* Mailbox options */
  112.  
  113. #define MAILBOX     1   /* Include SM0RGV mailbox server */
  114. #define MAILCMDS    1   /* Include mail commands, S, R, V etc */
  115. #define FILECMDS    1   /* Include D,U,W,Z commands */
  116. #define GATECMDS    1   /* Include gateway releated commands C,E,N,NR,P,PI,T */
  117. #define GWTRACE     1   /* Log all gateway connects to the logfile */
  118. #define FOQ_CMDS    1   /* Include Finger, Operator, Query
  119.                          * If GATECMDS and FOQ_CMDS are both undefined,
  120.                          * extra code is saved! */
  121. #define EXPIRY      1   /* Include message and bid expiry */
  122. #define MAILFOR     1   /* Include Mailbox 'Mail for' beacon */
  123. #define RLINE       1   /* Include BBS R:-line interpretation code */
  124. #define MBFWD       1   /* Include Mailbox AX.25 forwarding */
  125. #undef FWDCTLZ     1    /* Use a CTRL-Z instead of /EX to end message forwarding */
  126. #define USERLOG     1   /* Include last-msg-read,prompt-type user tracking */
  127. #define REGISTER    1   /* Include User Registration option */
  128. #undef MAILERROR   1   /* Include Mail-on-error option */
  129.  
  130.  
  131. /* Memory options */
  132.  
  133. #define EMS         1   /* Include Expanded Memory Usage */
  134.  /* DO NOT define the following, it doesn't work yet !!! */
  135. #undef XMS         1   /* Include Extended Memory Usage */
  136.  
  137.  
  138. /* Software tuning parameters */
  139.  
  140. #define MTHRESH     16384    /* Default memory threshold */
  141. #define NROWS       25      /* Number of rows on screen */
  142. #define NIBUFS      0 /* was 5 */       /* Number of interrupt buffers */
  143. #define IBUFSIZE    2048    /* Size of interrupt buffers */
  144. #define NSESSIONS   10      /* Number of interactive clients */
  145.  
  146.  
  147. /* Hardware driver options */
  148.  
  149. #define ASY         1   /* Asynch driver code */
  150. #define KISS        1   /* Multidrop KISS TNC code for Multiport tnc */
  151. #undef POLLEDKISS  1   /* G8BPQ Polled Multidrop KISS TNC code */
  152. #define PACKET      1   /* FTP Software's Packet Driver interface */
  153. #undef SCC         1   /* PE1CHL generic scc driver */
  154. #undef BPQ         1   /* include Bpqhost interface */
  155. #undef PACKETWIN   1   /* Gracilis PackeTwin driver */
  156. #undef PI          1   /* VE3IFB pi dma card scc driver */
  157. #undef ARCNET      1   /* ARCnet via PACKET driver */
  158. #undef PC_EC       1   /* 3-Com 3C501 Ethernet controller */
  159. #undef HS          1   /* High speed (56kbps) modem driver */
  160. #undef HAPN        1   /* Hamilton Area Packet Network driver code */
  161. #undef EAGLE       1   /* Eagle card driver */
  162. #undef PC100       1   /* PAC-COM PC-100 driver code */
  163. #undef APPLETALK   1   /* Appletalk interface (Macintosh) */
  164. #undef DRSI        1   /* DRSI PCPA slow-speed driver */
  165. #undef SLFP         1   /* SLFP packet driver class supported */
  166. #define PRINTEROK   1   /* OK to name a printer as an output device */
  167.  
  168. /***************************************************************************/
  169. /* This section corrects some defines that include/exclude others          */
  170.  
  171. #ifdef STATUSWIN
  172. #define SPLITSCREEN 1
  173. #endif
  174.  
  175. #ifdef DIRSESSION
  176. #undef MORESESSION
  177. #define MORESESSION 1
  178. #endif
  179.  
  180. #if defined(NRS)
  181. #undef    NETROM
  182. #define    NETROM        1    /* NRS implies NETROM */
  183. #endif
  184.  
  185. #if defined(ARCNET) || defined(SLFP)
  186. #undef    PACKET
  187. #define    PACKET        1    /* FTP Software's Packet Driver interface */
  188. #endif
  189.  
  190. #if defined(PC_EC) || defined(PACKET)
  191. #define    ETHER    1        /* Generic Ethernet code */
  192. #endif
  193.  
  194. #if defined(SAMCALLB)
  195. #define CALLCLI 1
  196. #undef CALLSERVER 1
  197. #undef QRZCALLB 1
  198. #endif
  199.  
  200. #if defined(QRZCALLB)
  201. #define CALLCLI 1
  202. #undef CALLSERVER 1
  203. #undef SAMCALLB   1
  204. #endif
  205.  
  206. #if defined(CALLSERVER)
  207. #define CALLCLI     1
  208. #endif
  209.  
  210. #if defined(POP2CLIENT) || defined(POP3CLIENT)
  211. #define    MAILCLIENT    1
  212. #endif
  213.  
  214. #ifdef POLLEDKISS
  215. #define KISS 1
  216. #endif
  217.  
  218. #ifndef MAILBOX
  219. #undef MAILCMDS 1
  220. #undef FILECMDS 1
  221. #undef GATECMDS 1
  222. #undef FOQ_CMDS 1
  223. #undef CALLBOOK 1
  224. #undef CALLCLI 1
  225. #undef EXPIRY 1
  226. #undef MBXTDISC 1
  227. #undef TIPSERVER 1
  228. #undef MAILFOR 1
  229. #undef RLINE 1
  230. #undef MBFWD 1
  231. #undef USERLOG 1
  232. #endif
  233.  
  234. #ifndef MAILCMDS
  235. #undef MAILFOR 1
  236. #undef RLINE 1
  237. #undef MBFWD 1
  238. #endif
  239.  
  240. #ifndef TIPSERVER
  241. #undef XMODEM 1
  242. #endif
  243.  
  244. #ifndef AX25
  245. #undef AX25SESSION 1
  246. #undef AX25SERVER 1
  247. #undef MAILFOR 1
  248. #undef RLINE 1
  249. #undef MBFWD 1
  250. #undef NRS 1
  251. #undef NETROM 1
  252. #undef NETROMSESSION 1
  253. #undef NETROMSERVER 1
  254. #undef AXIP 1
  255. #undef NR4TDISC 1
  256. #undef TTYCALL 1
  257. #undef BPQ 1
  258. #undef EAGLE 1
  259. #undef SCC 1
  260. #undef KISS 1
  261. #undef POLLEDKISS 1
  262. #undef HAPN 1
  263. #undef PI 1
  264. #undef PC100 1
  265. #undef HS 1
  266. #undef AXIP 1
  267. #endif
  268.  
  269. #ifndef NETROM
  270. #undef NETROMSESSION 1
  271. #undef NETROMSERVER 1
  272. #endif
  273.  
  274. #ifndef SMTPSERVER
  275. #undef MAILCMDS 1
  276. #undef MBFWD 1
  277. #undef MAILFOR 1
  278. #undef RLINE 1
  279.  
  280. #endif
  281.  
  282.  
  283. #endif    /* _CONFIG_H */
  284.